﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="dtPicker.aspx.cs" Inherits="popups_dtPicker" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Vehicle2Hire - DateTime Picker</title><link href="../CSS/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        
        <asp:Calendar ID="cldCalendar" runat="server" BackColor="#FFFFFF" 
            BorderColor="#3e7a21" BorderWidth="1px" Font-Names="Verdana" Font-Size="8pt" 
            ForeColor="#663399" Height="200px" ondayrender="cldCalendar_DayRender" 
            ShowGridLines="True">
            <SelectedDayStyle BackColor="#3e7a21" Font-Bold="True" />
            <SelectorStyle BackColor="#3e7a21" />
            <TodayDayStyle BackColor="#3e7a21" ForeColor="Black" />
            <OtherMonthDayStyle ForeColor="#CC9966" />
            <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
            <DayHeaderStyle BackColor="#E7E7E8" Font-Bold="True" Height="1px" />
            <TitleStyle BackColor="#707173" Font-Bold="True" Font-Size="9pt" 
                ForeColor="#FFFFCC" />
        </asp:Calendar>
    </div>
    </form>
    <script type="text/javascript" language="javascript">
    function setDate(idText, val)
    {    
        if(window.opener.document.getElementById(idText))
            window.opener.document.getElementById(idText).value = val;
        window.close();
    }
    </script>
</body>
</html>
